package com.raja.servingStation.entity;

import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

public class RepairOrderResp {
    /**
     * 主键Id;格式为：101  1为系统id,0为分割，1为自增值
     */
    private Long orderId;

    /**
     * 订单编号
     */
    private String orderCode;
    /**
     * 车队名称
     */
    private String carCompany;
    /**
     * 车牌号
     */
    private String carNo;

    /**
     * 司机手机号
     */
    private String driverPhone;
    /**
     * 司机姓名
     */
    private String driverName;
    /**
     * 完工时间
     */
    @DateTimeFormat
    private Date overTime;
    /**
     * 金额
     */
    private BigDecimal money;
    /**
     * 结算方式
     */
    private String settlementType;
    /**
     * 工单类型
     */
    private Integer orderType;
    /**
     * 故障
     */
    private String fault;

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public String getCarCompany() {
        return carCompany;
    }

    public void setCarCompany(String carCompany) {
        this.carCompany = carCompany;
    }


    public String getDriverPhone() {
        return driverPhone;
    }

    public void setDriverPhone(String driverPhone) {
        this.driverPhone = driverPhone;
    }

    public String getDriverName() {
        return driverName;
    }

    public void setDriverName(String driverName) {
        this.driverName = driverName;
    }

    @DateTimeFormat
    public Date getOverTime() {
        return overTime;
    }

    public void setOverTime(Date overTime) {
        this.overTime = overTime;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public String getSettlementType() {
        return settlementType;
    }

    public void setSettlementType(String settlementType) {
        this.settlementType = settlementType;
    }

    public Integer getOrderType() {
        return orderType;
    }

    public void setOrderType(Integer orderType) {
        this.orderType = orderType;
    }

    public String getFault() {
        return fault;
    }

    public void setFault(String fault) {
        this.fault = fault;
    }

    public String getCarNo() {
        return carNo;
    }

    public void setCarNo(String carNo) {
        this.carNo = carNo;
    }
}